<!DOCTYPE html>
<style>
#elem {overflow: scroll;}
#elem::-webkit-scrollbar {overflow: auto;}
</style>
<p>Test for <a href="http://crbug.com/291293">bug 291293</a>.</p>
<p>Zooming in (ctrl++) should not crash.
The test PASSES if it did not crash.</p>
<div id="elem"></div>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.zoomPageIn();
}
document.getElementById('elem').style.setProperty('zoom', 2);
</script>
